package com.eml.service.entity;

import java.util.Date;

public class Promotion {
    private Integer Promotions_id; //编号
    private Date start_time;  //促销开始日期
    private Date end_time;  //促销结束日期
    private Integer promotions_amount;//促销金额

    public Promotion() {
    }

    public Promotion(Date start_time, Date end_time, Integer promotions_amount) {
        this.start_time = start_time;
        this.end_time = end_time;
        this.promotions_amount = promotions_amount;
    }

    public Promotion(Integer promotions_id, Date start_time, Date end_time, Integer promotions_amount) {
        Promotions_id = promotions_id;
        this.start_time = start_time;
        this.end_time = end_time;
        this.promotions_amount = promotions_amount;
    }

    public Integer getPromotions_id() {
        return Promotions_id;
    }

    public void setPromotions_id(Integer promotions_id) {
        Promotions_id = promotions_id;
    }

    public Date getStart_time() {
        return start_time;
    }

    public void setStart_time(Date start_time) {
        this.start_time = start_time;
    }

    public Date getEnd_time() {
        return end_time;
    }

    public void setEnd_time(Date end_time) {
        this.end_time = end_time;
    }

    public Integer getPromotions_amount() {
        return promotions_amount;
    }

    public void setPromotions_amount(Integer promotions_amount) {
        this.promotions_amount = promotions_amount;
    }

    @Override
    public String toString() {
        return "Promotion{" +
                "Promotions_id=" + Promotions_id +
                ", start_time=" + start_time +
                ", end_time=" + end_time +
                ", promotions_amount=" + promotions_amount +
                '}';
    }
}
